//
//  CYMyQuestionModel.m
//  cyydt
//
//  Created by chu on 2019/1/21.
//  Copyright © 2019 chu. All rights reserved.
//

#import "CYMyQuestionModel.h"

@implementation CYMyQuestionModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"id"]) {
        self.ID = value;
    }
}

- (void)setValue:(id)value forKey:(NSString *)key{
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"isRead"]) {
        if ([value isKindOfClass:[NSNumber class]]) {
            NSNumber *collect = (NSNumber *)value;
            self.isRead = [collect stringValue];
        }
    }
}

@end
